package context;

public class SearchWordContext {
    private static final ThreadLocal<String> tl = new ThreadLocal<>();

    public static void setWord(String word) {
        tl.set(word);
    }

    public static String getWord() {
        return tl.get();
    }

    public static void clear() {
        tl.remove();
    }

}
